<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: PasteCommand类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_paste_command.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="class_paste_command-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">PasteCommand类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 PasteCommand 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_paste_command.png" usemap="#PasteCommand_map" alt=""/>
  <map id="PasteCommand_map" name="PasteCommand_map">
<area href="class_command.html" title="The abstract parent class of all the command classes. Commands are non-copyable." alt="Command" shape="rect" coords="0,0,98,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a73e11bb5d7db1a6d9a80f42b57257cc8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_paste_command.html#a73e11bb5d7db1a6d9a80f42b57257cc8">PasteCommand</a> (<a class="el" href="local_types_8h.html#a3f0f526788b6b4c8f959197c4d10f9b3">ConstCopyBufferPtr</a> copy_buffer_ptr, <a class="el" href="local_types_8h.html#ab119e5463fbd3af25e93c81bd306ae54">SelectionPtr</a> selection_ptr, <a class="el" href="local_types_8h.html#ab270fe8bf56ceef23c1c5fbe384c9430">CloudPtr</a> cloud_ptr)</td></tr>
<tr class="memdesc:a73e11bb5d7db1a6d9a80f42b57257cc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor  <a href="class_paste_command.html#a73e11bb5d7db1a6d9a80f42b57257cc8">更多...</a><br /></td></tr>
<tr class="separator:a73e11bb5d7db1a6d9a80f42b57257cc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf8b66fd09968d8f711708da001f7195"><td class="memItemLeft" align="right" valign="top"><a id="aaf8b66fd09968d8f711708da001f7195"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_paste_command.html#aaf8b66fd09968d8f711708da001f7195">~PasteCommand</a> ()</td></tr>
<tr class="memdesc:aaf8b66fd09968d8f711708da001f7195"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor <br /></td></tr>
<tr class="separator:aaf8b66fd09968d8f711708da001f7195"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_command"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_command')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_command.html">Command</a></td></tr>
<tr class="memitem:a641c23ef533dd6f77d0a4ef0311598b2 inherit pub_methods_class_command"><td class="memItemLeft" align="right" valign="top"><a id="a641c23ef533dd6f77d0a4ef0311598b2"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#a641c23ef533dd6f77d0a4ef0311598b2">~Command</a> ()</td></tr>
<tr class="memdesc:a641c23ef533dd6f77d0a4ef0311598b2 inherit pub_methods_class_command"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor <br /></td></tr>
<tr class="separator:a641c23ef533dd6f77d0a4ef0311598b2 inherit pub_methods_class_command"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:acf1f55d113fecec89fb6254cd97b6442"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_paste_command.html#acf1f55d113fecec89fb6254cd97b6442">execute</a> ()</td></tr>
<tr class="memdesc:acf1f55d113fecec89fb6254cd97b6442"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the points in the copy buffer into the cloud.  <a href="class_paste_command.html#acf1f55d113fecec89fb6254cd97b6442">更多...</a><br /></td></tr>
<tr class="separator:acf1f55d113fecec89fb6254cd97b6442"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affc7272430c7fb8f0c62010ad2d8d8d6"><td class="memItemLeft" align="right" valign="top"><a id="affc7272430c7fb8f0c62010ad2d8d8d6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_paste_command.html#affc7272430c7fb8f0c62010ad2d8d8d6">undo</a> ()</td></tr>
<tr class="memdesc:affc7272430c7fb8f0c62010ad2d8d8d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes the points that were pasted to the cloud. <br /></td></tr>
<tr class="separator:affc7272430c7fb8f0c62010ad2d8d8d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_command"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_command')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_command.html">Command</a></td></tr>
<tr class="memitem:a18df2d81039392daeb0b78c346a70537 inherit pro_methods_class_command"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#a18df2d81039392daeb0b78c346a70537">Command</a> ()</td></tr>
<tr class="memdesc:a18df2d81039392daeb0b78c346a70537 inherit pro_methods_class_command"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default constructor.  <a href="class_command.html#a18df2d81039392daeb0b78c346a70537">更多...</a><br /></td></tr>
<tr class="separator:a18df2d81039392daeb0b78c346a70537 inherit pro_methods_class_command"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af06c78301f9782a47b838b619c4edfaf inherit pro_methods_class_command"><td class="memItemLeft" align="right" valign="top"><a id="af06c78301f9782a47b838b619c4edfaf"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#af06c78301f9782a47b838b619c4edfaf">hasUndo</a> () const</td></tr>
<tr class="memdesc:af06c78301f9782a47b838b619c4edfaf inherit pro_methods_class_command"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the command has an undo function. <br /></td></tr>
<tr class="separator:af06c78301f9782a47b838b619c4edfaf inherit pro_methods_class_command"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:aa599a26c838236690d3e43267009722e"><td class="memItemLeft" align="right" valign="top"><a id="aa599a26c838236690d3e43267009722e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_paste_command.html#aa599a26c838236690d3e43267009722e">PasteCommand</a> ()</td></tr>
<tr class="memdesc:aa599a26c838236690d3e43267009722e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor - object is not default constructable <br /></td></tr>
<tr class="separator:aa599a26c838236690d3e43267009722e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab7fb98b73c22c1b92a6de72c091bbfe"><td class="memItemLeft" align="right" valign="top"><a id="aab7fb98b73c22c1b92a6de72c091bbfe"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_paste_command.html#aab7fb98b73c22c1b92a6de72c091bbfe">PasteCommand</a> (const <a class="el" href="class_paste_command.html">PasteCommand</a> &amp;)</td></tr>
<tr class="memdesc:aab7fb98b73c22c1b92a6de72c091bbfe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor - commands are non-copyable <br /></td></tr>
<tr class="separator:aab7fb98b73c22c1b92a6de72c091bbfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68fa522d9babaf25b63cd3b9c1b8679e"><td class="memItemLeft" align="right" valign="top"><a id="a68fa522d9babaf25b63cd3b9c1b8679e"></a>
<a class="el" href="class_paste_command.html">PasteCommand</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_paste_command.html#a68fa522d9babaf25b63cd3b9c1b8679e">operator=</a> (const <a class="el" href="class_paste_command.html">PasteCommand</a> &amp;)</td></tr>
<tr class="memdesc:a68fa522d9babaf25b63cd3b9c1b8679e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equal operator - commands are non-copyable <br /></td></tr>
<tr class="separator:a68fa522d9babaf25b63cd3b9c1b8679e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:abb6d76236ed57350e78dc0d55b2d95cc"><td class="memItemLeft" align="right" valign="top"><a id="abb6d76236ed57350e78dc0d55b2d95cc"></a>
<a class="el" href="local_types_8h.html#a3f0f526788b6b4c8f959197c4d10f9b3">ConstCopyBufferPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_paste_command.html#abb6d76236ed57350e78dc0d55b2d95cc">copy_buffer_ptr_</a></td></tr>
<tr class="memdesc:abb6d76236ed57350e78dc0d55b2d95cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">a pointer pointing to the copy buffer. <br /></td></tr>
<tr class="separator:abb6d76236ed57350e78dc0d55b2d95cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bcfe114f9cf45faa891ee2c6fcf6e2e"><td class="memItemLeft" align="right" valign="top"><a id="a4bcfe114f9cf45faa891ee2c6fcf6e2e"></a>
<a class="el" href="local_types_8h.html#ab119e5463fbd3af25e93c81bd306ae54">SelectionPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_paste_command.html#a4bcfe114f9cf45faa891ee2c6fcf6e2e">selection_ptr_</a></td></tr>
<tr class="memdesc:a4bcfe114f9cf45faa891ee2c6fcf6e2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">A shared pointer pointing to the selection object. <br /></td></tr>
<tr class="separator:a4bcfe114f9cf45faa891ee2c6fcf6e2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ec1e78e855c38cb0783155dfc039610"><td class="memItemLeft" align="right" valign="top"><a id="a9ec1e78e855c38cb0783155dfc039610"></a>
<a class="el" href="local_types_8h.html#ab270fe8bf56ceef23c1c5fbe384c9430">CloudPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_paste_command.html#a9ec1e78e855c38cb0783155dfc039610">cloud_ptr_</a></td></tr>
<tr class="memdesc:a9ec1e78e855c38cb0783155dfc039610"><td class="mdescLeft">&#160;</td><td class="mdescRight">a pointer pointing to the cloud <br /></td></tr>
<tr class="separator:a9ec1e78e855c38cb0783155dfc039610"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a0110d10df6926020605cd264159d3e"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_paste_command.html#a6a0110d10df6926020605cd264159d3e">prev_cloud_size_</a></td></tr>
<tr class="separator:a6a0110d10df6926020605cd264159d3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pro_attribs_class_command"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_command')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_command.html">Command</a></td></tr>
<tr class="memitem:a6524158d3dd197cef746c64cd0e079e0 inherit pro_attribs_class_command"><td class="memItemLeft" align="right" valign="top"><a id="a6524158d3dd197cef746c64cd0e079e0"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#a6524158d3dd197cef746c64cd0e079e0">has_undo_</a></td></tr>
<tr class="memdesc:a6524158d3dd197cef746c64cd0e079e0 inherit pro_attribs_class_command"><td class="mdescLeft">&#160;</td><td class="mdescRight">a flag indicates whether the command has an undo function. <br /></td></tr>
<tr class="separator:a6524158d3dd197cef746c64cd0e079e0 inherit pro_attribs_class_command"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="a73e11bb5d7db1a6d9a80f42b57257cc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73e11bb5d7db1a6d9a80f42b57257cc8">&#9670;&nbsp;</a></span>PasteCommand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PasteCommand::PasteCommand </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="local_types_8h.html#a3f0f526788b6b4c8f959197c4d10f9b3">ConstCopyBufferPtr</a>&#160;</td>
          <td class="paramname"><em>copy_buffer_ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="local_types_8h.html#ab119e5463fbd3af25e93c81bd306ae54">SelectionPtr</a>&#160;</td>
          <td class="paramname"><em>selection_ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="local_types_8h.html#ab270fe8bf56ceef23c1c5fbe384c9430">CloudPtr</a>&#160;</td>
          <td class="paramname"><em>cloud_ptr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">copy_buffer_ptr</td><td>a shared pointer pointing to the copy buffer. </td></tr>
    <tr><td class="paramname">selection_ptr</td><td>a shared pointer pointing to the selection object. </td></tr>
    <tr><td class="paramname">cloud_ptr</td><td>a shared pointer pointing to the cloud object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="acf1f55d113fecec89fb6254cd97b6442"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf1f55d113fecec89fb6254cd97b6442">&#9670;&nbsp;</a></span>execute()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void PasteCommand::execute </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Appends the points in the copy buffer into the cloud. </p>
<p>After appending the points to the cloud, this function also updates the selection object to point to the newly pasted points. This also updates the selection object to point to the newly pasted points. </p>

<p>实现了 <a class="el" href="class_command.html#a6fd7d9bd8df8bfc881e4d6c7cd1878b7">Command</a>.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a6a0110d10df6926020605cd264159d3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a0110d10df6926020605cd264159d3e">&#9670;&nbsp;</a></span>prev_cloud_size_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int PasteCommand::prev_cloud_size_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The size of the cloud before new points are pasted. This value is used to mark the point where points were added to the cloud. In order to support undo, one only has to resize the cloud using this value. </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>apps/point_cloud_editor/include/pcl/apps/point_cloud_editor/<a class="el" href="paste_command_8h_source.html">pasteCommand.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_paste_command.html">PasteCommand</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
